﻿
namespace MyFurion.Start
{
    /// <summary>
    /// 初始化数据信息
    /// </summary>
    public class SeedDataInfo
    {
        /// <summary>
        /// 组织机构初始化数据
        /// </summary>
        public static List<OrgInfo> OrgSeedData = new List<OrgInfo>() 
        { 
            new OrgInfo(){ OrgCode="0000",OrgName="XXXX集团",Status=Unility.EnumData.EnumStatus.Enabled}
        };
        /// <summary>
        /// 角色初始化数据
        /// </summary>
        public static List<RoleInfo>RoleSeedData = new List<RoleInfo>()
        {
            new RoleInfo(){ RoleCode="Admin",RoleName="管理员",Status=Unility.EnumData.EnumStatus.Enabled,OrgAuthority=Unility.EnumData.EnumOrgAuthority.OrgChild}
        };
        /// <summary>
        /// 用户初始化数据
        /// </summary>
        public static List<UserInfo> UserSeedData = new List<UserInfo>()
        {
            //超级管理员默认密码 Pass@Word#
            new UserInfo(){ UserName="超级管理员",NickName="超级管理员",Account="SuperAdmin",LoginPwd="67FF5E784F9A6FD5A832DF6AA7FA0AC2",Status=Unility.EnumData.EnumStatus.Enabled,IsSuperAdmin=true}
        };
        /// <summary>
        /// 系统参数初始化数据
        /// </summary>
        public static List<ConfigInfo> ConfigSeedData = new List<ConfigInfo>()
        {
            new ConfigInfo(){ ConfigCode="DefaultPwd",ConfigName="初始化密码",ConfigValue="Abc@123456"}
        };
    }
}
